package com.weishi.project.training.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.weishi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 运动员表
 */
@Data
@TableName("tbl_sportsman")
public class Sportsman implements Serializable {
    private static final long serialVersionUID = 1L;

    /** PK */
    private Integer id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    private Integer sex;

    /** 性别中文名称 */
    @TableField(exist = false)
    @Excel(name = "性别")
    private String genderChinese;

    /** 梯队 */
    @Excel(name = "梯队")
    private String echelon;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    @Excel(name = "证书编号")
    private String certificateNumber;

    /** 身高 */
    @Excel(name = "身高")
    private Double height;

    /** 坐高 */
    @Excel(name = "坐高")
    private Double sitHigh;

    /** 臂展 */
    @Excel(name = "臂展")
    private Double armSpread;

    /** 肩宽 */
    @Excel(name = "肩宽")
    private Double shoulderWidth;

    /** 腿长 */
    @Excel(name = "腿长")
    private Double legLength;

    /** 小腿长 */
    @Excel(name = "小腿长")
    private Double tinyLegLength;

    /** 胸围 */
    @Excel(name = "胸围")
    private Double bust;

    /** 臀围 */
    @Excel(name = "臀围")
    private Double hipline;

    /** 腰围 */
    @Excel(name = "腰围")
    private Double waistline;

    /** 参训时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "参训时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date trainingTime;

    /** 技术等级 */
    @Excel(name = "技术等级")
    private String level;

    /** 技术等级授予单位 */
    @Excel(name = "技术等级授予单位")
    private String ratingUnit;

    /** 输送单位 */
    @Excel(name = "输送单位")
    private String conveyingUnit;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date ctime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date ltime;

    /** 部门ID */
    private Integer deptid;

    /** 学历 1、小学 2、初中 3、高中 4、大专 5、本科 6、硕士 7、博士 8、其他 */
    @Excel(name = "学历")
    private String education;

    private String password;

    @Excel(name = "账号")
    private String accountNumber;

    /***********************云南项目新增字段************************/
    @Excel(name = "民族")
    private String nation;
    @Excel(name = "身份证号")
    private String idCard;
    @Excel(name = "手机号")
    private String mobile;
    @Excel(name = "政治面貌")
    private String politicalOutlook;
    @Excel(name = "输送教练")
    private String transportCoach;
    @Excel(name = "入团/入党时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date joiningOrganizationTime;
    @Excel(name = "现就读学校")
    private String currentSchool;
    @Excel(name = "等级审批时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date gradeApprovalTime;
    @Excel(name = "户籍地址")
    private String permanentAddress;
    @Excel(name = "家庭住址")
    private String homeAddress;
    @Excel(name = "家庭情况")
    private String familySituation;
    @Excel(name = "年度注册期限开始", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date annualRegistrationPeriodStart;
    @Excel(name = "年度注册期限结束", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date annualRegistrationPeriodEnd;
    @Excel(name = "进入省队集训时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date trainingTimeOfProvincialTeam;
    @Excel(name = "转试训时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date trialTrainingTime;
    @Excel(name = "转正时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date regularTime;

    private Integer teamId;

    @Excel(name = "头像地址")
    private String imgUrl;

    /** 状态 1、正常 2、离队 */
    @Excel(name = "状态")
    private String status;

    /** 年龄 */
    @Excel(name = "年龄")
    private Integer age;



/**
 * 下面是身体形态数据
 * 重复的字段不用管 ，身体形态数据字段，以下面为主
 */

    /**
     * 跪高（ 划艇 ）
     */
    @TableField(exist = false)
    @Excel(name = "跪高")
    private double kneelHigh;

    /**
     * 上臂围
     */
    @Excel(name = "上臂围")
    @TableField(exist = false)
    private double upperArm;

    /**
     * 上臂围紧
     */
    @Excel(name = "上臂围紧")
    @TableField(exist = false)
    private double upperArmTightening;

    /**
     * 体脂百分比
     */
    @Excel(name = "体脂百分比")
    @TableField(exist = false)
    private double bodyFatPercentage;

    /**
     * 心率表Id
     */
    @Excel(name = "心率表Id")
    private String polarId;

    /**
     * 最大心率
     */
    @Excel(name = "最大心率")
    private Integer maxHeartRate;

    /**
     * 别名
     */
    @Excel(name = "别名")
    private String alias;




}